﻿namespace Hiver.WebApi.Models
{
    /// <summary>
    /// 模型基类
    /// </summary>
    public class BaseModel<T>
    {
        /// <summary>
        /// 返回代码 200为正常
        /// </summary>
        public int code = 200;

        /// <summary>
        /// 返回消息
        /// </summary>
        public string msg;

        /// <summary>
        /// 返回实体
        /// </summary>
        public T data;
    }
}